package com.xidian.yunwudemo.service.impl;

import com.xidian.yunwudemo.entities.DataAdaptive;
import com.xidian.yunwudemo.mapper.master.DataAdaptiveMapper;
import com.xidian.yunwudemo.service.AdaptiveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdaptiveServiceImpl implements AdaptiveService {

    @Autowired
    DataAdaptiveMapper dataAdaptiveMapper;
    @Override
    public List<DataAdaptive> getAllData() {
        return dataAdaptiveMapper.getAllData();
    }
}
